package com.lagou.pojo;

import java.util.Set;

/**
 * 用来保存bean的一些预先准备好的信息
 */
public class BeanDefinition {
    // bean name
    private String name;
    // bean的全限定类名
    private String reference;
    // 实现的接口的集合
    private Set<String> implementedInterfaces;
    // 是否开启了事务
    private boolean isTransactionControl;
    // 是否实现了接口
    private boolean isInterface;
    // 动态代理的bean name
    private String aopProxyName;


    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getReference() {
        return reference;
    }

    public void setReference(String reference) {
        this.reference = reference;
    }

    public boolean isTransactionControl() {
        return isTransactionControl;
    }

    public void setTransactionControl(boolean transactionControl) {
        isTransactionControl = transactionControl;
    }

    public Set<String> getImplementedInterfaces() {
        return implementedInterfaces;
    }

    public void setImplementedInterfaces(Set<String> implementedInterfaces) {
        this.implementedInterfaces = implementedInterfaces;
    }

    public boolean isInterface() {
        return isInterface;
    }

    public void setInterface(boolean anInterface) {
        isInterface = anInterface;
    }

    public String getAopProxyName() {
        return aopProxyName;
    }

    public void setAopProxyName(String aopProxyName) {
        this.aopProxyName = aopProxyName;
    }
}
